<div class="widget-content nopadding">
                    <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper" role="grid">
                        <div class="">
                            <div id="DataTables_Table_0_length" class="dataTables_length">
                                <label>Show
                                    <div class="select2-container" id="s2id_autogen1">
                                        <a class="select2-choice" onclick="return false;" href="#" tabindex="0">   
                                            <span>10</span><div><b></b></div>
                                        </a>
                                        <input type="hidden" id="pagesize" value="1" />
                                        <div class="select2-drop select2-drop-hide">   
                                            <ul class="select2-results">
                                                <?php
                                                foreach($list_sizes as $num){
                                                ?>
                                                    <li num="<?=$num?>"><?=$num?></li>
                                                <?php
                                                }
                                                ?>
                                            </ul>
                                        </div>    
                                    </div>
                                    entries
                                </label>
                            </div>
                        </div>